<template>
  <div class="faBox">
    <el-row style="position: relative;z-index: 1;">
      <el-col :span="24">
        <top-nav-menu class="nav" @select="select"> </top-nav-menu>
      </el-col>
    </el-row>
    <div class="content">
      <OneImageContent />
    </div>
  </div>
</template>

<script>
import TopNavMenu from "~/views/layout/component/FirstLevelNavMenu";
import OneImageContent from '@/view/Home'

export default {
  name: "OneImage",
  components: { TopNavMenu,OneImageContent },
  data() {
    return {
    };
  },
  methods: {
    select(index) {
      if (index !== this.current) {
        this.$router.push({ path: index });
        this.current = index;
      }
    },
  },
};
</script>

<style scoped>
.faBox{
  width: 100%;
  /* overflow: auto; */
}
.content {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border: 0;
}

</style>
